import apis from "../../http/apis/apis"

export default {
    //避免命名冲突
    namespaced: true,
    state: {},
    mutations: {},
    actions: {
        //管理员登录
        async login(context, form) {
            const { data } = await apis.admins.login({
                ...form
            });
            return data;
        },
    },
}